The magnetic field of the Earth, the magnetosphere, shields us from electrically charged particles arriving from space, mainly carried by the solar wind.